package com.bonc.modules.rpt.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonc.modules.rpt.entity.PeakShavingEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author jinlong
 * @date 2021/7/5
 */
@Mapper
public interface PeakShavingDao extends BaseMapper<PeakShavingEntity> {

    /**
     * 获取最大数据日期
     *
     * @return 最大数据日期(yyyyMM)
     */
    String getMaxDate();

    /**
     * 获取部门列表
     *
     * @return
     */
    List<String> getDept();


}
